const columns = [
  {
    title: '名称',
    dataIndex: 'appName',
    key: 'appName',
    scopedSlots: { customRender: 'appName' },
  },
  {
    title: '媒体ID',
    dataIndex: 'appKey',
    key: 'appKey',
  },
  {
    title: '广告位',
    dataIndex: 'slotCount',
    key: 'slotCount',
    scopedSlots: { customRender: 'slotCount' },
  },
  {
    title: '全部状态',
    dataIndex: 'status',
    key: 'status',
    scopedSlots: { customRender: 'status' },
    filters: [
      { text: '合作中', value: '1' },
      { text: '已暂停', value: '2' },
      { text: '未合作', value: '3' },
    ],
  },
  {
    title: '操作',
    key: 'action',
    scopedSlots: { customRender: 'action' },
  },
]

export { columns }
